using System;
using GraphQL.Types;
using Microsoft.Extensions.DependencyInjection;

namespace dotnet_graphql_demo.Infrastructure.Graphql
{
    public class OwnerSchema:  Schema
    {
        public OwnerSchema(IServiceProvider provider) : base(provider)
        {
            Query = provider.GetRequiredService<AccuntQuery>();
            Mutation = provider.GetRequiredService<AccountMutation>();
        }
    }

}